<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!-- internal list, object, ... -->
<s:action name="showAllArticles" namespace="/" var="result"></s:action>
<!-- end s:actions declarations -->

<section>
	<s:iterator value="#result.articleList">
		<h1>
			<s:property value="%{name}" />
		</h1>
		<label><s:text name="content.articleCategory" /></label>
		<span><s:property value="%{category.name}" /></span>
		<div class="content">
			<p>
				<s:property value="content" />
			</p>
		</div>
		<label><s:text name="content.publicationDate" /> <s:property
				value="publicationDate" /> - </label>
		<label><s:text name="content.articleAuthor" /></label>
		<span><s:property value="%{author.name}" /> - </span>
		<s:a href="showArticleWithComments?id=%{id}">
			<s:text name="content.readComments" />
		</s:a>
		<hr />

	</s:iterator>
</section>